package com.company.common;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan(basePackages = "com.company.common")

////启动过滤器
//@ServletComponentScan //不使用注解过滤器需要加这个注解启动过滤器

//启动后拦截器 可直接访问static下的静态 图片
//http://localhost:8080/picture.jpg
public class CommonApplication {

    public static void main(String[] args) {
        SpringApplication.run(CommonApplication.class, args);
    }

}
